package org.breeze.option.demos.entity.databaseEntity;

import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

@Data
@TableName("`option_entity`")
public class OptionEntity {
    /**
     * uuid
     */
    private String UUID;
    /**
     * 买量
     */
    private int buyQuantity;
    /**
     * 买价
     */
    private double buyPrice;
    /**
     * 最新价
     */
    private double newPrice;
    /**
     * 卖价
     */
    private double salePrice;
    /**
     * 卖量
     */
    private int saleQuantity;
    /**
     * 持仓量
     */
    private int openInterest;
    /**
     * 价差
     */
    private double priceChange;
    /**
     * 合约名
     */
    private String contractName;
    /**
     * 执行价
     */
    private int exercisePrice;
    /**
     * 标的物
     */
    private String optionObject;
    /**
     * 合约日期
     */
    private String optionDate;
    /**
     * 认购或认沽
     */
    private String callOrPut;
    /**
     * 数据生成时间戳
     */
    private long timeStamp;
}
